package com.mt.edu.base.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 类名称：Teacher <br>
 * 类描述： 教师<br>
 * 创建人： 马腾 <br>
 * 创建时间：Apr 28, 2014 8:47:21 PM <br>
 * 修改人： 马腾 <br>
 * 修改时间：Apr 28, 2014 8:47:21 PM <br>
 */
@Entity
@Table(name="ADM_TEACHER")
public class Teacher implements Serializable {
	
	private static final long serialVersionUID = 4107436413952034901L;
	
	private String id;
	private String name;
	private String desc;
	private String loginId;
	private String gender;
	private String contractNum;
	private String email;
	
	@Id
	@Column(name = "TEACHER_ID")
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	
	@Column(name = "TEACHER_NAME")
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	@Column(name = "TEACHER_DESC")
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	
	@Column(name = "LOGIN_ID")
	public String getLoginId() {
		return loginId;
	}
	public void setLoginId(String loginId) {
		this.loginId = loginId;
	}
	
	@Column(name = "GENDER")
	public String getGender() {
		return gender;
	}
	public void setGender(String gender) {
		this.gender = gender;
	}
	
	@Column(name = "CONTACT_NUM")
	public String getContractNum() {
		return contractNum;
	}
	public void setContractNum(String contractNum) {
		this.contractNum = contractNum;
	}
	
	@Column(name = "EMAIL")
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}

}
